home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.cs.arizona.edu
/
ftp.cs.arizona.edu.tar
/
ftp.cs.arizona.edu
/
icon
/
newsgrp
/
group95b.txt
/
000128_icon-group-sender _Fri Aug 18 16:56:34 1995.msg
< prev
next >
Wrap
Internet Message Format
|
1995-09-18
|
1KB
Received: by cheltenham.cs.arizona.edu; Fri, 18 Aug 1995 13:07:01 MST
To: icon-group@cs.arizona.edu
Date: Fri, 18 Aug 1995 16:56:34 GMT
From: tydeman@netcom.com (Fred Tydeman)
Message-Id: <tydemanDDIn2A.A06@netcom.com>
Organization: Tydeman Consulting
Sender: icon-group-request@cs.arizona.edu
Subject: SNOBOL4 and printing on same line
Errors-To: icon-group-errors@cs.arizona.edu
The SNOBOL4 Programming Language, second edition ("green book") on
page 167-168 talk about output associations and carriage control.
In looking at a Fortan manual, if the first character printed on a
line is a '1', then a new page eject is done before printing.
A '0' causes double spacing, a '+' suppresses spacing before
printing, eg, prints two successive records on the same line.
Anything else causes a single space before printing.
So you need to print a '+' as the first character on a line to
print the next record on the same line.
In SNOBOL4 do
OUTPUT('OUTPUT',6,'(1H+,132A1)')
in place of
OUTPUT('OUTPUT',6,'(1X,132A1)')
--
Fred Tydeman +1 (512) 255-8696 Austin, Texas
Computer Consultant tydeman@netcom.com
C/C++ Training NCEG/FPCE and numeric Testing
Voting Member x3j11 ( ANSI "C" standards committee )
Numerical Editor of the Journal of C Language Translation